package icu.cocoon.work.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import icu.cocoon.dao.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import java.time.LocalDate;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author Cocoon
 * @since 2020-06-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("work_week_report")
@ApiModel(value = "WeekReport对象", description = "")
public class WeekReport extends BaseEntity {

  private String name;

  private Long userId;

  @NotNull(message = "开始日期不可为空")
  private LocalDate startDate;

  @NotNull(message = "结束日期不可为空")
  private LocalDate endDate;


}
